<script>
	$(function() {
		$( "button, input:submit, a", ".demo" ).button();
		$( "a", ".demo" ).click(function() { return true; });
	});
</script>

	<style type="text/css">
		#datos{
			-moz-border-radius: 10px 10px 10px 10px; 
			background: none repeat scroll 0 0 #FFFFFF;
			border: 1px solid #99CC00;
		}
	</style>

	<div id="datos" style=" margin-left: 33%; text-align: center; height: 262px; width: 34%;">
		<%= image_tag(@user.picture, :size => "100x100") %>

		<p>
		  <b>Nombre(s):</b>
		  <%=h @user.name+" "+@user.name2 %>
		</p>


		<p>
		  <b>Apellido(s):</b>
		  <%=h @user.lastname+" "+@user.lastname2 %>
		</p>

		<p>
		  <b>Email:</b>
		  <%=h @user.email %>
		</p>

		<div class="demo">
			<% if (current_user.id == @user.id) %>
				<%= link_to "Editar tus Datos", edit_user_path(@user) %>
			<% end-%>
			<%= link_to "Ir al Inicio", :controller => "users", :action => "home", :id => current_user.id %>
		</div>
	</div>